cmake_minimum_required(VERSION 3.10)

project(hik_test)

set(CMAKE_BUILD_TYPE "Release")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")

find_package(OpenCV REQUIRED)
include_directories(/opt/MVS/include)
include_directories(${OpenCV_INCLUDE_DIRS})

link_directories(/opt/MVS/lib/64)
add_executable(hik_test Grab_ImageCallback.cpp )
target_link_libraries(hik_test MvCameraControl ${OpenCV_LIBS})
